package org.geektimes.web.mvc.servlet;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

/**
 * @author :   chuan
 * @date :   2021/03/23
 */
public interface MyWebMvcInitializer {

    /**
     *  Spring : 配置为初始化这个web应用程序所需的任何servlet、过滤器、监听器、上下文参数和属性
     * @param servletContext    the {@code ServletContext} to initialize
     * @throws ServletException {@code ServletException}
     */
    void onStartup(ServletContext servletContext) throws ServletException;
}
